﻿
//    using ChainStock.Controls;
    using System;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;

    public partial class MemRechargeCount : PageBase
    {
 

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!base.IsPostBack)
            {
                if (base.Request.QueryString["MemCard"] != null)
                {
                    this.MemCard.Value = base.Request.QueryString["MemCard"];
                }
                this.chkAllowPwd.Checked = base.curParameter.bolPwd;
                PubFunction.Get_PrintTitle(ref this.lblPrintTitle, ref this.lblPrintFoot, base._UserShopID);
                this.lblOrderUSer.InnerText = base._UserName;
                this.spOrderAccount.InnerText = base.curParameter.strMemCountPrefix + DateTime.Now.ToString("yyMMddHHmmssffff");
                this.txtOrderTime.Value = DateTime.Now.ToString("yyyy-MM-dd");
                this.ShopID.Value = this._UserShopID.ToString();
                this.chkSMS.Checked = base.curParameter.bolMoneySms && base.curParameter.bolAutoSendSMSByMemRedTimes;
                this.lblIsSms.Style.Add("display", (base.curParameter.bolMoneySms && base.curParameter.bolAutoSendSMSByMemRedTimes) ? "\"\"" : "none");
                this.lblIsPrint.Visible = base.curParameter.bolAutoPrint;
                this.chkPrint.Checked = base.curParameter.bolAutoPrint;
                this.ucMemberSearch.BolSenseICCard = base.curParameter.bolSenseiccard;
                this.ucMemberSearch.BolContactICCard = base.curParameter.bolContacticcard;
                this.PointNum.Value = PubFunction.GetPointNum("HYCC");
            }
        }
    }


